package com.xxx.shetuan3.utils;

import javax.persistence.Entity;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class JpaUtils {

    private static EntityManagerFactory factory;
/*
    static {
        factory = Persistence.createEntityManagerFactory("myJpa");
    }


 */
    /**
     * 获取EntityManager对象
     */
/*
    public static EntityManager getEntityManager() {
        factory.createEntityManager();
        return null;
    }


 */
}
